From: Eli Zaretskii Date: Tue, 23 Nov 2010 20:21:16 +0000 (+0200) Subject: Fix compilation on Windows following revno 102488. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~5554 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=41d5ff8a3ff8ddb0fe43a80017411f99b9b10a42;p=emacs.git Fix compilation on Windows following revno 102488. config.nt (EXTERNALLY_VISIBLE): Define. --- diff --git a/nt/ChangeLog b/nt/ChangeLog index bed7f2be4d1..f5e950aa3d3 100644 --- a/nt/ChangeLog +++ b/nt/ChangeLog @@ -1,3 +1,7 @@ +2010-11-23 Eli Zaretskii + + * config.nt (EXTERNALLY_VISIBLE): Define. + 2010-10-13 Juanma Barranquero * INSTALL: Refer to `dynamic-library-alist'. diff --git a/nt/config.nt b/nt/config.nt index 49f823c9ba4..3df58a29ba3 100644 --- a/nt/config.nt +++ b/nt/config.nt @@ -281,6 +281,12 @@ along with GNU Emacs. If not, see . */ #define INLINE #endif +#if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 1)) +#define EXTERNALLY_VISIBLE __attribute__((externally_visible)) +#else +#define EXTERNALLY_VISIBLE +#endif + #undef EMACS_CONFIGURATION #undef EMACS_CONFIG_OPTIONS